package forcollege.xly.com.xian.base;

/**
 * Created by xuleyuan on 2018/8/10
 */

public abstract class BaseViewModel<V> {
    V view;

    public BaseViewModel(V view) {
        this.view = view;
    }

    public V getView() {
        return view;
    }

    public abstract void onCreate();

    public abstract void onResume();

    public abstract void onDestroy();

}
